﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.DependencyInjection;

namespace Himp.Setl
{
    /// <summary>
    /// 结算类别查询
    /// </summary>
    public class SetlTypeQuery: ITransientDependency
    {
        private ISetlTypeService _setlTypeService;

        public SetlTypeQuery(ISetlTypeService setlTypeService)
        {
            _setlTypeService = setlTypeService;
        }

        public async Task<PagedResultDto<SetlTypeDto>> GetSetlTypeListAsync(SetlTypeInput input)
        {
            var list = await _setlTypeService.GetListAsync(input);

            return list;
        }
    }
}
